package com.ewing.extranal.im.dto;

import com.ewing.extranal.im.contant.ImEvent;

/**
 * 类/接口注释
 * 
 * @author tansonlam
 * @createDate 2016年4月22日
 * 
 */
public class MessageWrapper<T> {
    private ImEvent imEvent;

    private T result;

    private Long chatImUser;

    public MessageWrapper(ImEvent imEvent, T result) {
        super();
        this.imEvent = imEvent;
        this.result = result;
    }

    public MessageWrapper(Long chatImUser, ImEvent imEvent, T result) {
        super();
        this.chatImUser = chatImUser;
        this.imEvent = imEvent;
        this.result = result;
    }

    public Long getChatImUser() {
        return chatImUser;
    }

    public void setChatImUser(Long chatImUser) {
        this.chatImUser = chatImUser;
    }

    public ImEvent getImEvent() {
        return imEvent;
    }

    public void setImEvent(ImEvent imEvent) {
        this.imEvent = imEvent;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }

}
